Get specific values out of dictionary with multiple keys in Python